package com.jj.core.client;

import com.jj.message.battle.UserMessage;
import com.jj.net.Context;

/**
 * Copyrights: QidianGroup@JJ
 *
 * @author: LuHan
 * @date: 2018/1/15, 13:33
 */
public interface Client {
    void sendKcp(UserMessage message);
    void sendTcp(UserMessage userMessage);

    Context getTcpContext();
    void setTcpContext(Context tcpContext);
    Context getUdpContext();
    void setUdpContext(Context udpContext);
    Long getUid();
}
